<!--
 * @Author: your name
 * @Date: 2021-07-01 09:50:03
 * @LastEditTime: 2021-07-01 10:17:38
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \01e:\电商管理\app\src\components\Home.vue
-->
<template>
  <div class="home">
    home
    <el-button type="info" @click="loginout">退出</el-button>
  </div>
</template>

<script>
export default {
  name: "Home",
  data() {
    return {};
  },
  methods: {
    loginout() {
      // t退出
      window.sessionStorage.clear();
      this.$router.push("/login");
    },
  },
  components: {},
};
</script>

<style scoped lang='scss'>
</style>
